#include<stdio.h>
#include<stdlib.h>
#include "dominion.h"


void testcardIsAdventurer(){

	struct gameState* state;

	state=newGame();

	int currentPlayer=0;
	int drawntreasure=1;
	int card=adventurer;
	int cardDrawn=1;
	int tempHand[5];
	int z;

	//printf("Handcount:%d\n",state->handCount[currentPlayer]);


		//printf("Handcount:%d\n",state->handCount[currentPlayer]);

	card=feast;

	if(!cardIsAdventurer(card, drawntreasure, currentPlayer, cardDrawn, tempHand, z, state))
	{
		printf("cardIsAdventurer(): PASS when card is feast \n");
	}
	else{

		printf("cardIsAdventurer(): FAIL when card is feast.\n");
	}
	//printf("Handcount:%d\n",state->handCount[currentPlayer]);


}


int main(int argc, char *argv[])
{
	testcardIsAdventurer();
    return 0;
}



